//
//  GlobalMethod.h
//  Comma
//
//  Created by liuchang on 15/1/17.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

typedef NS_ENUM(NSInteger, iPhoneNumber) {
    iPhone_4,
    iPhone_5,
    iPhone_6,
    iPhone_6Plus,
    unKnowType
};

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GlobalMacro.h"
@interface GlobalMethod : NSObject

// 须指明在哪一个UIView中画线
+ (void)drawLineWithStartPoint:(CGPoint)startPoint
                      EndPoint:(CGPoint)endPoint
                      inUIView:(UIView *)view;

// 根据tag值可以操作这条线（删除）
+ (void)drawLineWithStartPoint:(CGPoint)startPoint EndPoint:(CGPoint)endPoint inUIView:(UIView *)view myTag:(NSInteger)myTag;


// 判断发布者信息
+ (NSString *)puberNickChangeString:(NSString *)puberNick;
// 获得完整URL
+ (NSString *)getFullURLWithURLString:(NSString *)urlStr
                         URLDic:(NSDictionary *)parmaters;
// 获得UUID
+ (NSString *)GetIOSUUID;
+ (NSString *)getApproveKey;
+(NSString *) md5:(NSString *)str;

// 汉字转拼音
+ (NSString *)phonetic:(NSString*)sourceString;

// 获得手机型号
+ (iPhoneNumber)getiPhoneNumber;

// 特殊字符替换
+ (NSString *)replaceCharacterWithString:(NSString *)string;

@end
